package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取长篇通讯信息，覆盖主要新闻资讯网站
* @author: codesmith
**/
public interface MajorNewsBean extends BaseBean {
    String API_NAME = "major_news";
    
    interface Fields {
    String title = "title";    //标题
    String content = "content";    //内容 (默认不显示，需要在fields里指定)
    String pub_time = "pub_time";    //发布时间
    String src = "src";    //来源网站
    }
    
    interface Params {
        src src = new src();
        /*
        * 新闻来源
        */
        class src extends BaseRequestParam {
            { key = "src"; }
        }
        start_date start_date = new start_date();
        /*
        * 新闻发布开始时间，e.g. 2018-11-21 00:00:00
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 新闻发布结束时间，e.g. 2018-11-22 00:00:00
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
    }
}